{extend name='common/dialog'}
{block name='content'}
<div class="row">
    <div class="col-lg-12">
        <div class="card">
            <div class="card-body">
                <form class="form-horizontal" data-toggle="validator" method="POST" role="form" data-loading="3">
                    <div class="form-group">
                        <label for="title" class="control-label">分类名</label>
                        <div class="form-item">
                            <input type="text" class="form-control" data-rule="required" name="row[title]"
                                   id="title" placeholder="输入分类名"
                                   value="{$row.title}"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="order_key" class="control-label">排序</label>
                        <div class="form-item">
                            <input type="number" class="form-control" data-rule="required" name="row[order_key]"
                                   id="order_key" placeholder="请输入排序"
                                   value="{$row.order_key|default=50}"/>
                        </div>
                    </div>
                    <div class="form-group hidden layer-footer">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-success btn-embossed disabled">提交</button>
                            <button type="reset" class="btn btn-default btn-embossed">重置</button>
                        </div>
                    </div>

                </form>
            </div>
        </div>
    </div>
</div>
{/block}